package com.ydzh.kfqgwvisitor.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 被访人信息表
 * </p>
 *
 * @author zcj
 * @since 2021-09-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "BeVisitor对象", description = "被访人信息表 ")
public class BeVisitor implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "被访人ID")
    @TableId(value = "BEVISITOR_ID", type = IdType.ASSIGN_ID)
    private Long bevisitorId;

    @ApiModelProperty(value = "被访人姓名")
    @TableField("BEVISITOR_NAME")
    private String bevisitorName;

    @ApiModelProperty(value = "被访人所在部门的ID")
    @TableField("DEPT_ID")
    private Long deptId;

    @ApiModelProperty(value = "被访人手机号")
    @TableField("PHONE_NO")
    private String phoneNo;


}
